package com.hdw.auth.bean.model;

import java.io.Serializable;

public class BaseAuthFu implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long idFu;

    private String cd;

    private String na;

    /**
     * 0 分类 1 功能
     */	
    private Byte euFutp;

    private String route;

    private String sdSoft;

    private Boolean fgOut;

    private Boolean fgAct;

    private String des;

    public Long getIdFu() {
        return idFu;
    }

    public void setIdFu(Long idFu) {
        this.idFu = idFu;
    }

    public String getCd() {
        return cd;
    }

    public void setCd(String cd) {
        this.cd = cd == null ? null : cd.trim();
    }

    public String getNa() {
        return na;
    }

    public void setNa(String na) {
        this.na = na == null ? null : na.trim();
    }

    public Byte getEuFutp() {
        return euFutp;
    }

    public void setEuFutp(Byte euFutp) {
        this.euFutp = euFutp;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route == null ? null : route.trim();
    }

    public String getSdSoft() {
        return sdSoft;
    }

    public void setSdSoft(String sdSoft) {
        this.sdSoft = sdSoft == null ? null : sdSoft.trim();
    }

    public Boolean getFgOut() {
        return fgOut;
    }

    public void setFgOut(Boolean fgOut) {
        this.fgOut = fgOut;
    }

    public Boolean getFgAct() {
        return fgAct;
    }

    public void setFgAct(Boolean fgAct) {
        this.fgAct = fgAct;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BaseAuthFu other = (BaseAuthFu) that;
        return (this.getIdFu() == null ? other.getIdFu() == null : this.getIdFu().equals(other.getIdFu()))
            && (this.getCd() == null ? other.getCd() == null : this.getCd().equals(other.getCd()))
            && (this.getNa() == null ? other.getNa() == null : this.getNa().equals(other.getNa()))
            && (this.getEuFutp() == null ? other.getEuFutp() == null : this.getEuFutp().equals(other.getEuFutp()))
            && (this.getRoute() == null ? other.getRoute() == null : this.getRoute().equals(other.getRoute()))
            && (this.getSdSoft() == null ? other.getSdSoft() == null : this.getSdSoft().equals(other.getSdSoft()))
            && (this.getFgOut() == null ? other.getFgOut() == null : this.getFgOut().equals(other.getFgOut()))
            && (this.getFgAct() == null ? other.getFgAct() == null : this.getFgAct().equals(other.getFgAct()))
            && (this.getDes() == null ? other.getDes() == null : this.getDes().equals(other.getDes()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getIdFu() == null) ? 0 : getIdFu().hashCode());
        result = prime * result + ((getCd() == null) ? 0 : getCd().hashCode());
        result = prime * result + ((getNa() == null) ? 0 : getNa().hashCode());
        result = prime * result + ((getEuFutp() == null) ? 0 : getEuFutp().hashCode());
        result = prime * result + ((getRoute() == null) ? 0 : getRoute().hashCode());
        result = prime * result + ((getSdSoft() == null) ? 0 : getSdSoft().hashCode());
        result = prime * result + ((getFgOut() == null) ? 0 : getFgOut().hashCode());
        result = prime * result + ((getFgAct() == null) ? 0 : getFgAct().hashCode());
        result = prime * result + ((getDes() == null) ? 0 : getDes().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", idFu=").append(idFu);
        sb.append(", cd=").append(cd);
        sb.append(", na=").append(na);
        sb.append(", euFutp=").append(euFutp);
        sb.append(", route=").append(route);
        sb.append(", sdSoft=").append(sdSoft);
        sb.append(", fgOut=").append(fgOut);
        sb.append(", fgAct=").append(fgAct);
        sb.append(", des=").append(des);
        sb.append("]");
        return sb.toString();
    }
}